@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>账单管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                            <#NameCon id="condition" name="单号/车次号/结算编号" />
                            </div>
                            <div class="col-sm-1">
                                <div class="layui-form-item">
                                    <div class="layui-input-inline" style="width: 80px">
                                        <select id="status" class="selectpicker" data-width="80px" >
                                            <option value="0">待结算</option>
                                            <option value="1">已结算</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3 ">
                                <#TimeCon id="beginTime" name="开始日期" isTime="false" pattern="YYYY-MM-DD"/>
                            </div>

                            <div class="col-sm-3">
                                <#TimeCon id="endTime" name="结束日期" isTime="false" pattern="YYYY-MM-DD"/>
                            </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="TMonthbalanceDetail.search()"/>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4 ">合计：<span id="zzhj">0</span></div>
                        </div>
                        <div class="hidden-xs" id="TMonthbalanceDetailTableToolbar" role="group">
                            @if(shiro.hasPermission("/tMonthbalanceDetail/add")){
                            <#button name="账单明细" icon="fa-plus" clickFun="TMonthbalanceDetail.openAddTMonthbalanceDetail()"/>
                            @}
                            @if(shiro.hasPermission("/tMonthbalanceDetail/update")){
                            <#button name="账单结算" icon="fa-plus" clickFun="TMonthbalanceDetail.openTMonthbalanceDetailDetail()" space="true"/>
                            @}
                        </div>
                        <div id="offHight"></div>
                        <#table id="TMonthbalanceDetailTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/tMonthbalanceDetail/tMonthbalanceDetail.js"></script>
@}
